#ifndef __NNIE_H
#define __NNIE_H

#include "util.h"

typedef struct {
    int cls;     // The category of the object, an integer > 0
    float score; // Object's credibility score
    RectBox box; // The rectangular area of the object (pixels)
} DetectObjInfo;

int nnie_init();
void nnie_exit();
int nnie_start();
int nnie_stop();
void nnie_callback(DetectObjInfo *detections, int count);

#endif // __NNIE_H
